﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.Runtime.Serialization;

namespace WCFDataService
{
    [DataContract]
    public class DataResponse
    {
        public DataResponse()
        {
            version = "0.6";
            reqId = "0";
            status = "ok";

        }

        [DataMember(EmitDefaultValue = false)]
        public string version { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public string reqId { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public string status { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public string warnings { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public String errors { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public string sig { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public string table { get; set; }
    }
}
